<template>
	<view class="nothing u-display animated fadeIn">
		<image :src="src"  mode="widthFix"></image>
		<h4 class="fontsize28" style="margin-top: 20px;color: #237AFF;">暂无内容</h4>
	</view>
</template>

<script>
  export default{
    props:{
      src:{
        type:String,
        default:'/static/nothing.png'
      }
    }
  }
</script>

<style lang="scss">
	.nothing {
		background: $bg_color;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	.nothing image {
		width: 30%;
	}

	.u-display {
		justify-content: center;
		align-items: center;
		display: flex;
		flex-direction: column;
	}
</style>
